package com.yc.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yc.domain.MyPageBean;
import com.yc.domain.Resfood;

import java.util.List;

public interface ResfoodBiz {
    List<Resfood> findAll();
    Resfood findById(Integer fid);
    List<Resfood> findFoods(Resfood food, int pageno, int pagesize, String sortby, String sort);
    MyPageBean findByPage(MyPageBean page);
    int addResfood(Resfood food);
}
